const name = ['北极熊', '南极企鹅', '美洲豹', '非洲狮', '大象', '骆驼', '苍鹰']

const getArray = (n) => {
  const array = []
  const len = n || 10
  for (let i = 0; i < len; i++) {
    array.push({
      key: Math.random(),
      name: name[Math.floor(Math.random() * 8)],
      age: 42,
      address: '西湖区湖底公园1号',
    })
  }
  return array
}
export const start = getArray(10)
export const doing = getArray(90)
export const end = getArray(50)
